package cn.qiguai.sphapi.domain;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Getter
@Setter
public class User {
	private Integer id;
	@NotBlank
	@Size(min = 11, max = 11)
	private String phoneNumber;
	@NotBlank
	@Size(min = 6, max = 15)
	private String password;
	private String salt;
	private boolean autoLogin;
}
